package com.vogue.supplymall.shop.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * The type Product attrplan.
 * 属性组合方案
 */
@Entity
@Table(name = "product_attrplan")
public class ProductAttrplan extends TendBaseEntity implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = -7334942604678222839L;

	private Long syscodeid;

    /**
     * 库存数
     */
    private BigDecimal inventory;

    /**
     * 禁用标志
     */
    private Boolean disabledflag;

    /**
     * Gets inventory.
     *
     * @return the inventory
     */
    public BigDecimal getInventory() {
        return inventory;
    }

    /**
     * 是否默认库存
     */
    private Boolean defaultFlag; 
    /**
     *所属商品id
     */
    private Long productId; 
    /**
     *标准重量
     */
    private BigDecimal weight; 
    /**
     * Sets inventory.
     *
     * @param inventory the inventory
     */
    public void setInventory(BigDecimal inventory) {
        this.inventory = inventory;
    }

    /**
     * Gets disabledflag.
     *
     * @return the disabledflag
     */
    public Boolean getDisabledflag() {
        return disabledflag;
    }

    /**
     * Sets disabledflag.
     *
     * @param disabledflag the disabledflag
     */
    public void setDisabledflag(Boolean disabledflag) {
        this.disabledflag = disabledflag;
    }

    /**
     * Gets syscodeid.
     *
     * @return the syscodeid
     */
    public Long getSyscodeid() {
        return syscodeid;
    }

    /**
     * Sets syscodeid.
     *
     * @param syscodeid the syscodeid
     */
    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

	public Boolean getDefaultFlag() {
		return defaultFlag;
	}

	public void setDefaultFlag(Boolean defaultFlag) {
		this.defaultFlag = defaultFlag;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
    
}